<% @salles.each do |salle| %>
  <span class="box_salles_index" id="<%=h salle.id %>" style="width:<%=h salle.machines.length*120+90 %>px;">
  <table width="100%">
      <tr>
        <td class="hr_salle"><%=h salle.nom_salle %></td>
    </tr>
    <tr>
      <% salle.machines.each do |machine| %>
        <td class="img_pc <%= machine.urgency -%>" id="<%=h machine.id %>"><%=h machine.nom_machine %> </td>
      <% end %>
    </tr>
    <tr>
    <% salle.machines.each do |machine| %>
      <td class="name_pc"><%=h machine.adresse_ip %></td>
    <% end %>
      </tr>
      <tr>
    <% salle.machines.each do |machine| %>
      <td class="state_pc"><%=h machine.display_connect %></td>
    <% end %>
      </tr>

  </table>
</span>
<% end %>
<div style="clear:both;height:15px"></div>